Skip to main content

Reply Mail Message

AutomatR.Outlook.ReplyMailMessage

The "Reply Mail Message" activity in AutomatR is part of the Outlook activities package, allowing you to reply to an email message in Microsoft Outlook. This activity provides the flexibility to compose a reply email, include additional recipients, set the body content, and attach files if needed.

Properties

NameDescription
Input
Additional To Email AddressSpecifies additional email addresses to include in the "To" field of the reply email.
Additional CC Email IDsSpecifies additional email addresses to include in the "CC" field of the reply email.
AttachmentsSpecifies a list of file paths representing attachments to include in the reply email.
BCC Email IDsSpecifies email addresses to include in the "BCC" field of the reply email.
BodySpecifies the plain text body content of the reply email.
HTML BodySpecifies the HTML body content of the reply email.
Mail MessageSpecifies the email message (MailItem object) in Outlook that you want to reply to.
Reply AllSpecifies whether to reply to all recipients (true) or only the original sender (false).
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds, i.e., 5) to start the activity.
Output
ResponseReturns true if the reply email was sent successfully; otherwise, an exception is thrown.

How to use:

  1. Drag and drop the "Reply Mail Message" activity onto the workflow.
  2. Configure the properties by specifying the email message to reply to, additional recipients, body content, and other relevant details.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to send a reply email in Microsoft Outlook.

Example:

Consider an example where the "Reply Mail Message" activity is used to reply to an inquiry email:

Reply Mail Message:
Display Name: "Reply to Inquiry"
Mail Message: inquiryEmail
Additional To Email Address: "additional@email.com"
Body: "Thank you for your inquiry. We will get back to you shortly."
Response: isReplySuccessful

In this example, the activity composes a reply email to the "inquiryEmail," including an additional recipient and a custom body message. The success of the reply operation is stored in the Boolean variable "isReplySuccessful" for further handling in the workflow.